package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.admin.dtos.ChannelDTO;
import com.heima.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface AdChannelService extends IService<AdChannel> {
    ResponseResult findByNameAndPage(ChannelDTO dto);

    //新增频道
    ResponseResult insert(AdChannel channel);

    //修改频道
    ResponseResult update(AdChannel channel);

    //删除频道
    ResponseResult deleteById(Integer id);
}
